Handles the request to add a running success event handler for the given gear type.

For TGear gears This handler aquires precedence over the more general handlers subscribed by the OnRunningSuccess(Action<RunningSuccessHandlerContext>) method.

If the handler sets to true the Handled property, no other general handler of this event is called.

Namespace: Keystone.Clockwork.Engines
Assembly: Keystone.Clockwork (in Keystone.Clockwork.dll)

new public static void OnRunningSuccessOf<TGear>( 
Action<RunningSuccessHandlerContext> Do 
)
This language is not supported or no code example is available.

Type Parameters

TGear

The gear type.

Parameters

Do

Type: Action<RunningSuccessHandlerContext>

The event handler.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono